﻿<?php
$txt1='hello world,';
$txt2='my name is lily.';
echo $txt1.' '.$txt2.'<br />';
echo strlen($txt2).'<br />';
echo strpos($txt1,'world').'<br />';
echo date('D-M-Y').'<br />';

?>
<?php
$i=1;
$i++;
echo $i.'<br />';
//这个结果是6
?>
<?php
//print_r($_COOKIE);
$i=1;
while($i<=5){
echo $i++.'<br />';
}
?>
<?php 
$i=1;
do
  {
  $i++;
  echo "The number is " . $i . "<br />";
  }
while ($i<5);
?>


